package good_src.Interfaces;

import java.util.Collection;

/**
 * @author Tangi Midy & Fabien Le Peih
 * 
 */
public interface Capteur<T> extends Subject<T> {

	/**
	 * 
	 * @see good_src.Interfaces.Subject#update()
	 */
	public void update();

	/**
	 * 
	 * @return is Ticking
	 */
	public boolean isTicking();

	/**
	 * set isTicking in order to Stop or start the tick action
	 * @param b true/false
	 */
	public void setTick(boolean b);

	/**
	 * 
	 * @return the observers 
	 */
	public Collection<ObservateurCapteur> getObservers();
}
